Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not include ImageService3 on v2 manifests #867

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

donaldgray
Copy link
Member

Both ImageService2 and ImageService3 services were included on both V2 and V3 manifests.

This changes that logic to only include both for Presentation3 manifests, Presentation2 manifests only include ImageService2 services.

The [ObjectIfSingle] attribute on Service in iiif-net lib ensures this is serialised properly (see https://github.com/digirati-co-uk/iiif-net/blob/main/src/IIIF/IIIF/Presentation/V2/Resource.cs#L13-L14)

@donaldgray donaldgray merged commit 7856018 into main Jun 24, 2024
9 checks passed
@donaldgray donaldgray deleted the feature/presi2_updates branch June 24, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants